package com.clms.statistics.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_order")
@ApiModel(value = "订单对象",description = "订单的实体类")
public class TbOrder {
  @TableId(value = "id",type = IdType.AUTO)
  @ApiModelProperty(value = "id")
  private long id;
  @ApiModelProperty(value ="客户id" )
  private long clientId;
  @ApiModelProperty(value = "车辆id")
  private long carId;
  @ApiModelProperty(value = "开始时间")
  private java.sql.Timestamp startTime;
  @ApiModelProperty(value = "结束时间")
  private java.sql.Timestamp endTime;
  @ApiModelProperty(value = "租出门店")
  private long brrowShop;
  @ApiModelProperty(value = "归还门店")
  private long returnShop;
  @ApiModelProperty(value = "总金额")
  private double totalPrice;
  @ApiModelProperty(value = "预付金额")
  private double preparidAmount;
  @ApiModelProperty(value = "订单状态")
  private long state;
  @ApiModelProperty(value = "是否送车上门")
  private String isGetCarAtHome;
  @ApiModelProperty(value = "上门地址Id")
  private String getCarLocation;
  @ApiModelProperty(value = "是否上门还车")
  private String isReturnCarAtHome;
  @ApiModelProperty(value = "上门地址Id")
  private String returnCarLocation;

  private java.sql.Timestamp addtime;

  private String orderNo;



}
